package scalaLearning.part9

object ImplicitDemo1 {
  def main(args: Array[String]): Unit = {
    implicit def f1(a: Double) = {
      a.toInt
    }

    val num: Int = 3.5
    println("num=" + num)
  }
}
